/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author b2
 */
public class TuyenBayPOJO {

    private String MaTuyenBay;
    private String SanBayDen;
    private String SanBayDi;

    public TuyenBayPOJO() {
    }

    public TuyenBayPOJO(String MaTuyenBay, String SanBayDen, String SanBayDi) {
        this.MaTuyenBay = MaTuyenBay;
        this.SanBayDen = SanBayDen;
        this.SanBayDi = SanBayDi;
    }

    public TuyenBayPOJO(TuyenBayPOJO tb) {
        this.MaTuyenBay = tb.MaTuyenBay;
        this.SanBayDen = tb.SanBayDen;
        this.SanBayDi = tb.SanBayDi;
    }

    public String getMaTuyenBay() {
        return MaTuyenBay;
    }

    public String getSanBayDen() {
        return SanBayDen;
    }

    public String getSanBayDi() {
        return SanBayDi;
    }

    public void setMaTuyenBay(String MaTuyenBay) {
        this.MaTuyenBay = MaTuyenBay;
    }

    public void setSanBayDen(String SanBayDen) {
        this.SanBayDen = SanBayDen;
    }

    public void setSanBayDi(String SanBayDi) {
        this.SanBayDi = SanBayDi;
    }

    @Override
    public String toString() {
        return this.MaTuyenBay;
    }
}
